﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateUser.aspx.cs" Inherits="UserManagement_UpdateUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改学生信息</title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
    <script language="javascript" src="../My97DatePicker/WdatePicker.js"></script>
      <script language="javascript" type="text/javascript" src="../Js/LoginNameCheck.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hidId" runat="server" />
    <div class="zt mainCenter">
        <div class="contentBody">
            <div class="title">
               学生管理-->修改学生信息</div>
             <table style="width:100%;color:#336699;"  class="ta1">
	<tr>
	<td class="ta2 tag" >
		学校
	：</td>
	<td class="ta2">
        <asp:DropDownList ID="dlschool" runat="server"  DataTextField="VS_name" 
               DataValueField="ID">
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td class="ta2 tag" >
		登陆名
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtVU_loginname" runat="server"  CssClass="inp1" ReadOnly="true"></asp:TextBox>
		<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" Text="*"  ControlToValidate="txtVU_loginname"
                 ErrorMessage="登陆名不能为空" ValidationGroup="register"></asp:RequiredFieldValidator><label id ="lblname" style ="color:Red; font-size:small"></label>
	</td></tr>
	<tr>
	<td class="ta2 tag" >
		密码
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtVU_Password" runat="server"  TextMode="Password" CssClass="inp1" ></asp:TextBox>
		<span style ="color:Red; font-size:small">若您填写则认为你要修改密码</span>
	
	</td></tr>
	<tr>
	<td class="ta2 tag" >
		真实名
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtVU_realname" runat="server"  CssClass="inp1"></asp:TextBox>
		<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Text="*"  ControlToValidate="txtVU_realname"
                 ErrorMessage="真实名不能为空" ValidationGroup="register"></asp:RequiredFieldValidator><label id ="Label3" style ="color:Red; font-size:small"></label>
	</td></tr>
	<tr>
	<td class="ta2 tag" >
		联系方式
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtVU_mobile" runat="server"  CssClass="inp1"></asp:TextBox>
		 <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" Text="*"  ControlToValidate="txtVU_mobile" 
                ErrorMessage="联系方式不能为空" ValidationGroup="register"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID ="adfas" runat ="server" ErrorMessage ="联系格式不正确" ControlToValidate ="txtVU_mobile" 
                 ValidationExpression ="^((\(\d{3,4}\)|\d{3,4}-)?\d{8})$|^(\d{11})$" Text ="*" ValidationGroup="register"></asp:RegularExpressionValidator>
	</td></tr>
	 <tr>
                    <td class="ta2 tag"  >
                         启用：
                    </td>
                    <td  class="ta2" >
                        <asp:CheckBox ID="chkIsEnable" runat="server" Checked="true" />
                    </td>
                </tr>
                 <tr style="display:none">
                    <td class="ta2 tag"   >
                        是否购买：
                    </td>
                    <td  class="ta2" >
                        <asp:CheckBox ID="chkIsBuy" runat="server" Checked="true" />
                    </td>
                </tr>
	<tr>
	<td class="ta2 tag" >
		邮箱
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtVU_email" runat="server"  CssClass="inp1"></asp:TextBox>
		  <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                 ControlToValidate="txtVU_email" runat="server" ErrorMessage="邮箱地址不正确" 
                 ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="register" Width="7px">*</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Text="*"  ControlToValidate="txtVU_email" 
                ErrorMessage="邮箱地址不能为空" ValidationGroup="register"></asp:RequiredFieldValidator>
	</td></tr></table>
	<asp:Button ID="btnAdd" runat="server" Text="修改" CssClass="button" OnClick="btnUpdate_Click" 
              ValidationGroup="register" ></asp:Button>&nbsp;&nbsp;<input  type="reset"   value="重置" class="button"  id="btnReset" runat="server"/>&nbsp;&nbsp;<input type="button" value="返回" onclick="window.history.go(-1)" class="button"  id="back" runat="server" >
       <p >
       <span id="AuthSpan" style="color:Red;font-size:small" ></span></p>

 <p style="color:Red; text-align:left"><asp:Label ID="lblMess" runat="server"></asp:Label></p>
   <p style="margin-left:50px">&nbsp;<asp:ValidationSummary ID="validSummary" runat="server"  HeaderText="错误信息" ValidationGroup="register" /> </p>
  </div>
    </div>
    </form>
</body>
</html>
